// 链表节点类

class Node {
  public int val;
  public Node next;

  public Node(int val) {
    this.val = val;
  }
}
